home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 7 / CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso / • CD Funhouse System 6 Only • / • The School House • / HeloMath •••• / HeloMath ееее.rsrc / CODE_14_•Init.txt < prev    next >
Text File  |  1988-10-20  |  6KB  |  122 lines

  1. # near model CODE resource
  2. # jump table entries: 256-256 (1 of them)
  3. export_32:
  4. 00000000  48E7 FFF0                movem.l    -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3
  5. 00000004  4247                     clr.w      D7
  6. 00000006  41FA 00C0                lea.l      A0, [PC + 0xC0 /* 000000C8, value 0x3C7C '<|', cstring "" */]
  7. 0000000A  2218                     move.l     D1, [A0]+
  8. 0000000C  6F00 00A6                ble        +0xA8 /* 000000B4 */
  9. 00000010  2A18                     move.l     D5, [A0]+
  10. 00000012  6604                     bne        +0x6 /* 00000018 */
  11. 00000014  2A0D                     move.l     D5, A5
  12. 00000016  9A81                     sub.l      D5, D1
  13. label00000018:
  14. 00000018  2645                     movea.l    A3, D5
  15. 0000001A  244B                     movea.l    A2, A3
  16. 0000001C  E281                     asr        D1, 1
  17. 0000001E  6002                     bra        +0x4 /* 00000022 */
  18. label00000020:
  19. 00000020  425A                     clr.w      [A2]+
  20. label00000022:
  21. 00000022  51C9 FFFC                dbf        D1, -0x6 /* 00000020 */
  22. 00000026  3018                     move.w     D0, [A0]+
  23. 00000028  3E18                     move.w     D7, [A0]+
  24. 0000002A  6000 0084                bra        +0x86 /* 000000B0 */
  25. label0000002E:
  26. 0000002E  7800                     moveq.l    D4, 0x00
  27. 00000030  1818                     move.b     D4, [A0]+
  28. 00000032  2204                     move.l     D1, D4
  29. 00000034  0201 000F                andi.b     D1, 0xF
  30. 00000038  0804 0004                btst.b     D4, 0x4
  31. 0000003C  670E                     beq        +0x10 /* 0000004C */
  32. 0000003E  E141                     asl        D1.w, 8
  33. 00000040  1218                     move.b     D1, [A0]+
  34. 00000042  0881 000B                bclr.b     D1, 0xB
  35. 00000046  6704                     beq        +0x6 /* 0000004C */
  36. 00000048  E181                     asl        D1, 8
  37. 0000004A  1218                     move.b     D1, [A0]+
  38. label0000004C:
  39. 0000004C  7401                     moveq.l    D2, 0x01
  40. 0000004E  0804 0007                btst.b     D4, 0x7
  41. 00000052  6716                     beq        +0x18 /* 0000006A */
  42. 00000054  1418                     move.b     D2, [A0]+
  43. 00000056  0882 0007                bclr.b     D2, 0x7
  44. 0000005A  670E                     beq        +0x10 /* 0000006A */
  45. 0000005C  E142                     asl        D2.w, 8
  46. 0000005E  1418                     move.b     D2, [A0]+
  47. 00000060  0882 000E                bclr.b     D2, 0xE
  48. 00000064  6704                     beq        +0x6 /* 0000006A */
  49. 00000066  E182                     asl        D2, 8
  50. 00000068  1418                     move.b     D2, [A0]+
  51. label0000006A:
  52. 0000006A  7C02                     moveq.l    D6, 0x02
  53. 0000006C  4EBA 004C                jsr        [PC + 0x4C /* 000000BA */]
  54. 00000070  0885 000F                bclr.b     D5, 0xF
  55. 00000074  6704                     beq        +0x6 /* 0000007A */
  56. 00000076  E185                     asl        D5, 8
  57. 00000078  1A18                     move.b     D5, [A0]+
  58. label0000007A:
  59. 0000007A  43F3 5800                lea.l      A1, [A3 + D5]
  60. 0000007E  2449                     movea.l    A2, A1
  61. 00000080  0804 0005                btst.b     D4, 0x5
  62. 00000084  671C                     beq        +0x1E /* 000000A2 */
  63. 00000086  2C01                     move.l     D6, D1
  64. 00000088  4EBA 0030                jsr        [PC + 0x30 /* 000000BA */]
  65. 0000008C  0C41 0002                cmpi.w     D1, 0x2
  66. 00000090  6706                     beq        +0x8 /* 00000098 */
  67. 00000092  6D08                     blt        +0xA /* 0000009C */
  68. 00000094  DB92                     add.l      [A2], D5
  69. 00000096  600E                     bra        +0x10 /* 000000A6 */
  70. label00000098:
  71. 00000098  DB52                     add.w      [A2], D5
  72. 0000009A  600A                     bra        +0xC /* 000000A6 */
  73. label0000009C:
  74. 0000009C  DB12                     add.b      [A2], D5
  75. 0000009E  6006                     bra        +0x8 /* 000000A6 */
  76. label000000A0:
  77. 000000A0  12D8                     move.b     [A1]+, [A0]+
  78. label000000A2:
  79. 000000A2  51C9 FFFC                dbf        D1, -0x6 /* 000000A0 */
  80. label000000A6:
  81. 000000A6  0804 0006                btst.b     D4, 0x6
  82. 000000AA  6704                     beq        +0x6 /* 000000B0 */
  83. 000000AC  260D                     move.l     D3, A5
  84. 000000AE  D792                     add.l      [A2], D3
  85. label000000B0:
  86. 000000B0  51C8 FF7C                dbf        D0, -0x86 /* 0000002E */
  87. label000000B4:
  88. 000000B4  4CDF 0FFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3, [A7]+
  89. 000000B8  4E75                     rts
  90. fn000000BA:
  91. 000000BA  7A00                     moveq.l    D5, 0x00
  92. 000000BC  6004                     bra        +0x6 /* 000000C2 */
  93. label000000BE:
  94. 000000BE  E18D                     lsl        D5, 8
  95. 000000C0  1A18                     move.b     D5, [A0]+
  96. label000000C2:
  97. 000000C2  51CE FFFA                dbf        D6, -0x8 /* 000000BE */
  98. 000000C6  4E75                     rts
  99. 000000C8  0000 3C7C                ori.b      D0, 0x7C /* '|' */
  100. 000000CC  0000 0000                ori.b      D0, 0x0
  101. 000000D0  0005 0000                ori.b      D5, 0x0
  102. 000000D4  101A                     move.b     D0, [A2]+
  103. 000000D6  0126                     btst       -[A6], D0
  104. 000000D8  5348                     subq.w     A0, 1
  105. 000000DA  0000 0000                ori.b      D0, 0x0
  106. 000000DE  FFFF                     .invalid   <<F/7/7>>
  107. 000000E0  C452                     and.w      D2, [A2]
  108. 000000E2  FFFF                     .invalid   <<F/7/7>>
  109. 000000E4  C45A                     and.w      D2, [A2]+
  110. 000000E6  8100                     sbcd       D0, D0
  111. 000000E8  0000 0000                ori.b      D0, 0x0
  112. 000000EC  0000 FFFF                ori.b      D0, 0xFF
  113. 000000F0  C45E                     and.w      D2, [A6]+
  114. 000000F2  6001                     bra        +0x3 /* 000000F5 */
  115. 000000F4  2C60                     movea.l    A6, -[A0]
  116. 000000F6  0130 6001                btst       [A0 + D6.w + 0x1], D0
  117. 000000FA  3C01                     move.w     D6, D1
  118. 000000FC  015D                     bchg       [A5]+, D0
  119. 000000FE  0100                     btst       D0, D0
  120. 00000100  0000 00CC                ori.b      D0, 0xCC
  121. 00000104  2541 3569                move.l     [A2 + 0x3569], D1
  122.